package com.fbli.collection;

import java.util.*;

public class Collection {
    public String string;
    public static void main(String[] args) {
        List list=new ArrayList();
        list.add(1);
        list.contains(1);
        Iterator iterator = list.iterator();
        while (iterator.hasNext()) {
            Object next =  iterator.next();
            
        }
        Object b = new Object();

        Map hashMap = new HashMap();
        hashMap.put(1,"a");
        hashMap.put(2,"b");
        hashMap.put(3,"c");
        java.util.Collection values = hashMap.values();
        for (Object o : values){
            System.out.println(o);
        }

    }

}
